package com.jm.day24.e_demo3;

import com.jm.day24.e_demo3.service.AccoutService;

public class AccountTest {
    public static void main(String[] args) {
        String out = "zhangsan";
        String in = "lisi";
        Double money = 500d;

        AccoutService service= new AccoutService();
        boolean isSucces = service.transfer(out,in,money);

        if(isSucces){
            System.out.println("成功");
        }else{
            System.out.println("失败");
        }
    }
}
